package com.neusoft.awt.model;

import java.util.Date;

/**
 * 描述：订单表
 * 
 * 创建时间：2018/08/11 16:52
 */
public class Orders{
	
	/**
	 * 订单id
	 */
	private	Integer id;
	
	/**
	 * 商品id
	 */
	private	Integer goodsid;
	
	/**
	 * 卖家id
	 */
	private	Integer sellerid;
	
	/**
	 * 买家id
	 */
	private	Integer buyerid;
	
	/**
	 * 创建时间
	 */
	private	Date createTime;
	
	/**
	 * 订单状态：
            0：未发货
            1：发货中
            2：已完成
	 */
	private	Integer status;
	
	/**
	 * 收件人地址
	 */
	private	String address;
	
	/**
	 * 订单总金额
	 */
	private	java.math.BigDecimal totalPrice;
	
	/**
	 * 商品名称
	 */
	private String goodsname;
	
	/**
	 * 数量
	 */
	private int num;
	
	/**
	 * 收件人电话
	 */
	private String tel;
	
	/**
	 * 收件人
	 */
	private String recipient;
	
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id=id;
	}
	public Integer getGoodsid(){
		return goodsid;
	}
	
	public void setGoodsid(Integer goodsid){
		this.goodsid=goodsid;
	}
	public Integer getSellerid(){
		return sellerid;
	}
	
	public void setSellerid(Integer sellerid){
		this.sellerid=sellerid;
	}
	public Integer getBuyerid(){
		return buyerid;
	}
	
	public void setBuyerid(Integer buyerid){
		this.buyerid=buyerid;
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status=status;
	}
	public String getAddress(){
		return address;
	}
	
	public void setAddress(String address){
		this.address=address;
	}
	public java.math.BigDecimal getTotalPrice(){
		return totalPrice;
	}
	
	public void setTotalPrice(java.math.BigDecimal totalPrice){
		this.totalPrice=totalPrice;
	}
	
	
}
